package com.iyunsir.mem.service.impl;
import com.iyunsir.mem.entity.Mem;
import com.iyunsir.mem.mapper.MemMapper;
import com.iyunsir.mem.service.MemService;
import com.iyunsir.mem.vo.MemQuery;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class MemServicelmpl implements MemService {
    @Resource
    private MemMapper memMapper;



    @Override
    public List<Mem> getMemList(MemQuery param) {
        return memMapper.getMemList(param);
    }

    @Override
    public Long countMemList(MemQuery param) {
        return memMapper.countMemList(param);
    }

    @Override
    public void addMem(Mem mem) { memMapper.addMem(mem); }



    @Override
    public void deleteMemByIds(String ids) {
        memMapper.deleteMemByIds(ids);
    }

    @Override
    public Mem getMemByid(Integer id) {
        return memMapper.getMemById(id);
    }

    @Override
    public void updateMem(Mem mem) {
        memMapper.updateMem(mem);
    }


}
